<?php

class action_403 extends action{
	protected function init(){
		$this->template = 'error/403.tpl';
	}
	
	public function process($data=null){
		$user = umUser::getInstance();
		
		if(!$user->isLoggedIn()){
			header('Location: ?action=login');
			die('REDIRECT TO LOGIN');
		}
	}
	
	public function hasAccess(){
		return true;
	}
}
